home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / Demos / Duel / diutil.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-31  |  558 b   |  25 lines

  1. //-----------------------------------------------------------------------------
  2. // File: DIUtil.h
  3. //
  4. // Desc: Input routines
  5. //
  6. // Copyright (C) 1995-2001 Microsoft Corporation. All Rights Reserved.
  7. //-----------------------------------------------------------------------------
  8. #ifndef DIUTIL_H
  9. #define DIUTIL_H
  10.  
  11. #define DIRECTINPUT_VERSION 0x700
  12. #include <dinput.h>
  13.  
  14.  
  15. HRESULT DIUtil_InitInput( HWND hWnd );
  16. VOID    DIUtil_ReadKeys( DWORD* pdwKey );
  17. VOID    DIUtil_CleanupInput();
  18. HRESULT DIUtil_ReacquireInputDevices();
  19.  
  20.  
  21. #endif
  22.  
  23.  
  24.  
  25.